package com.example.websocket.services.impl;

import com.example.websocket.services.UserService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

@Component
@Slf4j
public class UserServiceImpl implements UserService {

    @Override
    public String getUserName(Integer id) {
        log.info("getUserName: {}", id);
        return "用户_" + id;
    }
}
